﻿using Prototype;

var manager = new Manager();
var upen = new UnderlinePen('~');
var mbox = new MessageBox('*');
var sbox = new MessageBox('/');
manager.Register("strong message", upen);
manager.Register("warning box", mbox);
manager.Register("slash", sbox);

var p1 = manager.Create("strong message");
p1.Use("Hello World.");

var p2 = manager.Create("warning box");
p2.Use("Hello World.");

var p3 = manager.Create("slash");
p3.Use("Hello World.");